// API响应类型定义
export interface ApiResponse<T = any> {
  code: number
  message: string
  data: T
}

// 登录响应类型
export interface LoginResponse {
  token: string
  refresh_token: string
  user: {
    id: number
    username: string
    email: string
    role: string
    real_name: string
    status: string
  }
}

// 注册响应类型
export interface RegisterResponse {
  username: string
  email: string
  role: string
  status: string
}
